package com.lyj.mode.principle.single;

/**
 * 测试类1
 * @author:liyajie
 * @createTime:2022/1/28 14:47
 * @version:1.0
 */
public class Test1 {
    public static void main(String[] args) {
        Transportation transportation1 = new Transportation();
        transportation1.car("汽车");
        transportation1.train("火车");
        transportation1.airplane("飞机");
    }
}
